<template>
	<view class="content_eleven">
		<view class="content_eleven_name">{{$t('仓库')}}</view>
		<view v-if="message.length>0" class="content_eleven_block" v-for="(item,index) in message" :key="index">
			<image style="width: 154rpx;height: 154rpx;border-radius: 16rpx;" src="@/static/m1.png" />
			<!-- 右侧 -->
			<view class="content_eleven_block_right">
				<view class="content_eleven_block_right_top">
					<view class="right_top_name">{{lang=='zh'?item.name:item.name_ru}}</view>
					<image style="width: 24rpx;height: 24rpx;" src="@/static/homePage/fxx.png" mode=""></image>
				</view>
				<view class="right_top_type">{{lang=='zh'?item.brand?item.brand:'-':item.brand_ru?item.brand_ru:'-'}}</view>
				<view class="right_top_mini">
					<view class="right_top_mini_tyle">
						<image 
						style="width: 32rpx;height: 32rpx;" 
						src="@/static/homePage/rqx.png" />
						<view style="margin-left: 8rpx;">{{item.square?item.square:0}}m</view>
					</view>
					
				</view>
				<view class="right_top_address">
					<image 
					style="width: 30rpx;height: 30rpx;" 
					src="@/static/homePage/localx.png" />
					<view class="right_top_address_detail">
					{{lang=='zh'?item.address?item.address:'-':item.address_ru?item.address_ru:'-'}}</view>
				</view>
			</view>
		</view>
		<view v-if="message.length==0" class="event-zw">{{$t('暂无信息')}}</view>
	</view>
</template>

<script>
	export default {
		props: ['message','lang'],
		data() {
			return {
				list: [1, 2, 3]
			}
		}
	}
</script>

<style scoped>
	.event-zw{
		font-size: 24rpx;
		color: #999999;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	.right_top_address_detail{
		margin-left: 8rpx;
		width: 350rpx;
		height: 30rpx;
		text-overflow: ellipsis;
		    overflow: hidden;
		    word-break: break-all;
		    white-space: nowrap;
	}
	.right_top_address{
		width: 100%;
		height: 30rpx;
		display: flex;
		align-items: center;
		font-weight: 400;
		font-size: 22rpx;
		color: #3D3D3D;
		margin-top: 16rpx;
	}
	.right_top_mini_tyle{
		display: flex;
		align-items: center;
		height: 30rpx;
	}
	.right_top_mini{
		width: 350rpx;
		height: 30rpx;
		display: flex;
		align-items: center;
		font-weight: 400;
		font-size: 22rpx;
		color: #3D3D3D;
		margin-top: 16rpx;
	}
	.right_top_type{
		width: 350rpx;
		height: 28rpx;
		font-weight: 400;
		font-size: 22rpx;
		color: #3D3D3D;
		text-overflow: ellipsis;
		overflow: hidden;
		word-break: break-all;
		white-space: nowrap;
		margin-top: 6rpx;
	}
	.right_top_name {
		width: 350rpx;
		text-overflow: ellipsis;
		overflow: hidden;
		word-break: break-all;
		white-space: nowrap;
	}

	.content_eleven_block_right_top {
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.content_eleven_block_right {
		flex: 1;
		height: 100%;
		width: 100%;
		margin-left: 12rpx;
	}

	.content_eleven_block {
		width: 630rpx;
		height: 190rpx;
		background: #F7F8FB;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		margin-bottom: 12rpx;
		padding: 18rpx 20rpx;
		display: flex;
		align-items: center;
	}

	.content_eleven_name {
		font-weight: 500;
		font-size: 30rpx;
		color: #3D3D3D;
		margin-bottom: 24rpx;
	}

	.content_eleven {
		width: 690rpx;
		min-height: 202rpx;
		background: #FFFFFF;
		border-radius: 16rpx 16rpx 16rpx 16rpx;
		padding: 34rpx 30rpx 24rpx 30rpx;
		margin-top: 12rpx;
	}
</style>